package main.parsers.matches;

import java.sql.Time;

public class Stat 
{
	protected int id;
	protected int match;
	protected int season;
	protected int number;
	protected int stat;
	protected int games;
	protected int minutes;
	
	protected Time time;
	protected String player;
	protected String club;
	
	protected Integer playerid;
	
	protected Stat(int match, int season, int number, String club, String player, int games, int minutes, Time time, Integer playerid)
	{
		this(match, number, club, player, games, minutes, time);
		this.playerid = playerid;
		this.season = season;
	}
	
	protected Stat(int match, int number, String club, String player, int games, int minutes, Time time)
	{
		this.match = match;
		this.number = number;
		this.club = club;
		this.player = player;
		this.games = games;
		this.minutes = minutes;
		this.time = time;
	}
	
	protected Stat(int id, int stat, int match, int number, String club, String player, int games, int minutes, Time time)
	{
		this(match, number, club, player, games, minutes, time);
		this.id = id;
		this.stat = stat;
	}
	
	public int getId() {
		return id;
	}

	public int getMatch() {
		return match;
	}

	public int getSeason() {
		return season;
	}

	public int getNumber() {
		return number;
	}
	
	public String getPlayer() {
		return player;
	}
	
	public String getClub() {
		return club;
	}
	
	public int getStat() {
		return stat;
	}
	
	public Integer getPlayerid() {
		return playerid;
	}
	
	public Time getTime() {
		return time;
	}
	
	public int getGames() {
		return games;
	}
	
	public int getMinutes() {
		return minutes;
	}
	
	public void setStat(int stat) {
		this.stat = stat;
	}
}
